import request from '@/utils/request'
const apiUrl="/trace/qrcode/gen/record"

// 分页获取记录
export function page(query) {
  return request({
    url: apiUrl+'/page',
    method: 'get',
    params: query
  })
}
// 生码
export function save(data) {
  return request({
    url: apiUrl+'/save',
    method: 'post',
    data: data
  })
}
// 下载码包
export function downloadOss(data) {
  return request({
    url: apiUrl+'/downloadOss',
    method: 'post',
    data: data
  })
}
